package com.struts.action;

import com.opensymphony.xwork2.ActionSupport;
import com.struts.pojo.User;

public class RegisterAction extends ActionSupport{
	
	private User user ;

	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

	public String register() {
		System.out.println("传入的数据为：" + user);
		return SUCCESS ;
	}
	
}
